

E2Lib.RegisterExtension("shieldslink", true)

__e2setcost(3)

e2function number getShields(entity ply)
	if ( !ply:IsPlayer() ) then return 0 end
		return ( ply.shieldAmount or 0 )
end

e2function number getMaxShields(entity ply)
	if ( !ply:IsPlayer() ) then return 0 end
		return ( ply.shieldMax or 0 )
end